<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<html>
<head>
    <title>
        <tiles:insertAttribute name="title"/>
    </title>

    <script type="application/javascript" src="js/require/require.js"></script>
    <script type="application/javascript" src="js/require/require-config.js"></script>
    <script type="application/javascript" src="js/jquery/modernizr.js"></script>

    <link rel="stylesheet" href="css/normalize.css"/>
    <link rel="stylesheet" href="css/foundation.min.css"/>
    <link rel="stylesheet" href="css/dream.css"/>

</head>
<body class="dreamshop-body">
<div id="myModal" class="reveal-modal" data-reveal>
</div>
<div class="main">
    <tiles:insertAttribute name="header"/>
    <div class="content">
        <div class="row">
            <div class="large-12 columns">
                <div class="panel">
                    <tiles:insertAttribute name="body"/>
                </div>
            </div>
        </div>
    </div>

    <tiles:insertAttribute name="footer"/>
</div>
<script type="application/javascript">
    require(["jquery"], function () {
        $(document).ready(function () {
            require(["foundation", "foundationAlert"], function () {
                $(document).foundation();
            });
        });
    });
</script>
</body>
</html>